const model = require('../model/model');
const mongoose = require('mongoose');
const basedao=require('../basedao')



class plan extends basedao.basedao{





    findone(param){
		return this.model.findOne({ userid: param })
	}

    findAll(userid,professionid){
        return this.model.findOne({ userid: userid,professionid:professionid })
    }
}








module.exports=plan

